﻿using System;
using System.Windows;
using wpffc.contracts.infrastructure;
using wpffc.contracts.viewmodels.learning;

namespace wpffc.views
{
    /// <summary>
    /// Interaction logic for LearningView.xaml
    /// </summary>
    public partial class LearningView : Window, IEntryPoint
    {
        public LearningView()
        {
            InitializeComponent();
        }

        public void Inject(LearningViewModel dependency)
        {
            this.LayoutRoot.DataContext = dependency;
        }

        public void Run(string[] args)
        {
            this.Show();
        }
    }
}
